package com.ruoyi.project.fit.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 cost
 *
 * @author ruoyi
 * @date 2021-11-02
 */
public class Cost extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 项目费用ID */
    private Integer costId;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String costName;

    /** 关键字 */
    @Excel(name = "关键字")
    private String costKeyword;

    /** 项目单价 */
    @Excel(name = "项目单价")
    private Integer costPrice;

    /** 项目成本 */
    @Excel(name = "项目成本")
    private Integer costItem;

    /** 单位 */
    @Excel(name = "单位")
    private String costUnit;

    /** 类别 */
    @Excel(name = "类别")
    private String costClasses;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    public void setCostId(Integer costId)
    {
        this.costId = costId;
    }

    public Integer getCostId()
    {
        return costId;
    }
    public void setCostName(String costName)
    {
        this.costName = costName;
    }

    public String getCostName()
    {
        return costName;
    }
    public void setCostKeyword(String costKeyword)
    {
        this.costKeyword = costKeyword;
    }

    public String getCostKeyword()
    {
        return costKeyword;
    }
    public void setCostPrice(Integer costPrice)
    {
        this.costPrice = costPrice;
    }

    public Integer getCostPrice()
    {
        return costPrice;
    }
    public void setCostItem(Integer costItem)
    {
        this.costItem = costItem;
    }

    public Integer getCostItem()
    {
        return costItem;
    }
    public void setCostUnit(String costUnit)
    {
        this.costUnit = costUnit;
    }

    public String getCostUnit()
    {
        return costUnit;
    }
    public void setCostClasses(String costClasses)
    {
        this.costClasses = costClasses;
    }

    public String getCostClasses()
    {
        return costClasses;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("costId", getCostId())
                .append("costName", getCostName())
                .append("costKeyword", getCostKeyword())
                .append("costPrice", getCostPrice())
                .append("costItem", getCostItem())
                .append("costUnit", getCostUnit())
                .append("costClasses", getCostClasses())
                .append("status", getStatus())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .toString();
    }
}
